home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / PowerPlant / Multi-Panel Dialogs 1.1 / MPD Sources / CMPDAGAIndexTab.h < prev    next >
Encoding:
Text File  |  1996-09-09  |  1.2 KB  |  41 lines  |  [TEXT/R*ch]

  1. // ===========================================================================
  2. //    File:                        CMPDAGAIndexTab.h
  3. // Version:                    1.0 - Aug 19, 1996
  4. //    Author:                    Mike Shields (mshields@inconnect.com)
  5. //                            
  6. //    Copyright ©1996 Mike Shields. All rights reserved.
  7. // ===========================================================================
  8. //    CMPDAGAIndexTab.cp        <- double-click + Command-D to see class definition
  9. //
  10. // A subclass of LAGAIndexTab which has been adapted to work with the MPD classes.
  11.  
  12. #pragma once
  13.  
  14. #include "CMPDPanelSelectControl.h"
  15. #include "LAGAIndexTab.h"
  16.  
  17. class LStream;
  18. class LStr255;
  19.  
  20. class CMPDAGAIndexTab : public CMPDPanelSelectControl, 
  21.                                 public LAGAIndexTab
  22. {
  23. public:
  24.     enum                { class_ID = 'MPDg' };
  25.     static CMPDAGAIndexTab*    CreateFromStream(LStream* inStream);
  26.     
  27.                                     CMPDAGAIndexTab(LStream* inStream);
  28.     virtual                        ~CMPDAGAIndexTab();
  29.     
  30.     // CMPDPanelSelectControl overides
  31.     virtual void                InsertPanelIDs(MPDPtr inPanelIDData);
  32.     virtual void                SelectPanelID(PanelIDIndexT inPanelID);
  33.     
  34. protected:
  35.     // CMPDPanelSelectControl overides
  36.     virtual PanelIDIndexT    GetCurrentPanelID(void) const;
  37.     
  38.     // LAGAIndexTab overides
  39.     virtual void                 AdaptTab(Boolean inRefresh = true);
  40. };
  41.